const { Router } = require('express');

const { healthController } = require('../controllers/health.controller');

function createHealthRouter() {
  const router = Router();
  router.get('/', healthController.status);
  router.get('/ready', healthController.status);
  return router;
}

module.exports = { createHealthRouter };
